perf(activitylistmodel): store conflicts in separate list
authorJyrki Gadinger <nilsding@nilsding.org>
Fri, 25 Jul 2025 10:03:36 +0000 (12:03 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 25 Jul 2025 11:02:36 +0000 (11:02 +0000)
commitf2c3742fea141bd42b5f2ab968965c0ef0da01f6
tree6d6ec6fa127cfe9706671d3162a4026bb266912f
parent82990dee36f82267038a232e1d3ec67779a65393
perf(activitylistmodel): store conflicts in separate list

Figuring out whether a sync conflict occurred by iterating through the
entire activity list each time a new activity was added is really slow,
even more so when there already are thousands of previous activities.
This was especially noticeable during complete initial full syncs
involving more than ~5000 files.

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
src/gui/tray/activitylistmodel.cpp
src/gui/tray/activitylistmodel.h